@extends('layouts.tankuang')

@section('content')
    <div id="taby" class="easyui-tabs" border="false" style="width:100%;overflow: hidden;" fit="true">
        <div title="基本情况" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/units/edit',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="法人登记" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/units/faren',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="保卫人员登记" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/units/baowei',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="重点岗位人员登记" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/units/zdry',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="重要部位登记" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/units/zybw',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="应急预案" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/units/tfsj',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="警情通报" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/jq/police',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="人员审核" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/rysh/police',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="线索举报" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/xs/police',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="意见反馈" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/yjfk/police',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
        <div title="内保工作评价" style="overflow:hidden;">
            <iframe scrolling="auto" frameborder="0"  src="{{url('admin/qyph/leida',$id)}}" style="width:100%;height:100%;"></iframe>
        </div>
    </div>
    <script>
        $(document).ready(function(){
            var winHeight =  window.screen.height;
            var winWidth = 	window.screen.width;
            if(winWidth == 1024){
                $('#taby').css('height',465+'px');
                $('#taby').find('iframe').css('height',436+'px');
            }else if(winWidth == 1280){
                $('#taby').css('height',465+'px');
                $('#taby').find('iframe').css('height',436+'px');
            }else if(winWidth == 1366){
                $('#taby').css('height',465+'px'); $('#taby').find('iframe').css('min-height',436+'px');
            }else if(winWidth == 1920){
                $('#taby').css('min-height',($('#w').height()-27)+'px');
	   		    $('#taby').find('iframe').css('min-height',($('#w').height()-27)+'px');
            }else{
                $('#taby').css('height',465+'px');
                $('#taby').find('iframe').css('min-height',436+'px');
            }
        })
    </script>
@stop